//
//  UIImage+ImageSave.h
//  lc-collect
//
//  Created by mac on 2021/3/4.
//

#import <UIKit/UIKit.h>

typedef void(^CompletionBlock)( NSError * _Nullable error);

NS_ASSUME_NONNULL_BEGIN

@interface UIImage (ImageSave)

/// 保存图片到相册
/// @param image 图片
/// @param completionBlock block
- (void)imageWriteToSavedPhotosAlbum:(UIImage *)image result:(CompletionBlock) completionBlock;


@end

NS_ASSUME_NONNULL_END
